add_library(mpd_backend SHARED Plugin.cpp)
set_target_properties(mpd_backend PROPERTIES PREFIX "" LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/src)
target_link_libraries(mpd_backend mpdclient)

install(TARGETS mpd_backend LIBRARY DESTINATION ${pluginDirectory})
